﻿<phone:PhoneApplicationPage 
    
    x:Class="OnlineVideos.Views.BrowserPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>


        <!--TitlePanel contains the name of the application and page title-->
        <!--<StackPanel Orientation="Horizontal" Margin="-25,0,0,0">
            <Image x:Name="imgTitle" Width="236" Height="58" HorizontalAlignment="Left" />
            <TextBlock x:Name="tblkhyphen" Text="-" Margin="0,-20,5,0" FontSize="74"/>
            <TextBlock x:Name="tblkVideosTitle" Margin="0,15,0,0" Width="245" FontFamily="Comic Sans MS" Foreground="Red" FontSize="28" FontWeight="Bold" TextWrapping="NoWrap"/>
        </StackPanel>-->

        <!--ContentPanel - place additional content here-->
        
        <TextBox Grid.Row="1"   Name="txtmessage" Text="Enter url"  Height="73" VerticalAlignment="Center" />
        <phone:WebBrowser HorizontalAlignment="Left" Margin="0,0,0,0" Name="webBrowser1" VerticalAlignment="Top"   Navigating="webBrowser1_Navigating" Navigated="webBrowser1_Navigated" LoadCompleted="webBrowser1_LoadCompleted" Height="740" Grid.Row="0"  Width="480" IsScriptEnabled="True" />
        <StackPanel x:Name="buttonList" Grid.Row="1"  HorizontalAlignment="Center" Orientation="Horizontal" >
            <toolkit:AutoCompleteBox InputScope="Url"  Name="txtlink"  Width="480" Margin="0,-7,0,0"  ValueMemberBinding="{Binding urllist}" FilterMode="Contains" KeyUp="txtlink_KeyUp" Height="73">
                <toolkit:AutoCompleteBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Height="50" >
                            <TextBlock Text="{Binding urllist}" >

                            </TextBlock>
                        </StackPanel>
                    </DataTemplate>
                </toolkit:AutoCompleteBox.ItemTemplate>
            </toolkit:AutoCompleteBox>
            <Image x:Name="imgfldr"  HorizontalAlignment="Right" Margin="-5,-10,0,5"  Visibility="Collapsed" Source="/Images/appbar.folder.rest (2).png" Width="83"    MouseLeftButtonDown="Image_MouseLeftButtonDown" Height="110" ></Image>


        </StackPanel>
        <toolkit:PerformanceProgressBar
            VerticalAlignment="Bottom"
            x:Name="performanceProgressBar"/>

    </Grid>


    <!--Sample code showing usage of ApplicationBar-->
  <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
